package com.maimao.staticms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author MaoLin Wang
 * @date 2020/12/30 11:12 上午
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.maimao.core"})
@ComponentScan(basePackages = {"com.maimao.api"})
@ComponentScan(basePackages = {"com.maimao.staticms"})
@EnableDiscoveryClient
@EnableFeignClients
public class StaticApplication {
    public static void main(String[] args) {
        SpringApplication.run(StaticApplication.class, args);
    }
}
